<template>
  <nav-bar class="home-nav">
    <div slot="center">购物街</div>
  </nav-bar>
</template>

<script>
import NavBar from "components/common/navbar/NavBar";
import {getHomeMultidata} from "network/home";

export default {
  name: "Home",
  components: {
    NavBar
  }, created() {
    getHomeMultidata().then(res => {
      console.log(res);
      this.result = res;
    })
  }, data() {
    return {
      result: null
    }
  }
}
</script>

<style scoped>
#home {
  /*padding-top: 44px;*/
  height: 100vh;
  position: relative;
}

.nav-bar {
  background-color: var(--color-tint);
  color: #fff;
}

</style>
